package com.aixin.csopuser.domain;

import lombok.Data;
import lombok.NoArgsConstructor;
import lombok.ToString;

import javax.persistence.*;
import java.io.Serializable;
import java.time.Instant;

@Data
@ToString
@Entity
@NoArgsConstructor
@Table(name = "agentinfo")
public class AgentInfo implements Serializable {

    private static final long serialVersionUID = 1L;

    @Id
    private String agentCode;
    private String agencyCode;
    private String channelCode;
    private String districtCode;
    private String branchCode;
    private String secondAgency;
    private String phoneNumber;
    private String agencyName;
    private String channelName;
    private String districtName;
    private String branchName;
    private String secondAgencyName;

}
